<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="description" content="{$article.content|htmlspecialchars_decode|strip_tags|mb_substr=0,130,'utf-8'}">
    <meta name="keywords" content="{$article.title},{$article.category_name}">
    <title> {$article.title}-{$siteInfo['title']}</title>
    <link rel="stylesheet" href="_THEMES_/blog/static/layui/css/layui.css" />
    <link rel="stylesheet" href="_THEMES_/blog/static/css/home.css" />
    <script type="text/javascript" src="_THEMES_/blog/static/js/jquery-3.2.1.min.js" ></script>
    <script type="text/javascript" src="_THEMES_/blog//static/layui/layui.js" ></script>
    <script type="text/javascript" src="_THEMES_/blog/static/js/home.js" ></script>
  </head>
  <body>
    <style>
      .article img{width:100%;height:100%}
      .article-content{
        font-size:15px;
        font-family: "微软雅黑";
        line-height:200%;
        color:rgb(102, 102, 102);
      }
      .article-content p{padding:10px 0}
    </style>
    {include file="common/nav" /}
    <div class="content">
      {include file="common/right" /}
      <div class="article" style="overflow:hidden">
        <h1 style="font-size: 22px">{$article.title}</h1>
        <input type="hidden" value="{$article.article_id}" id="article-id" />
        <p style="color: #C0C0C0;margin: 5px;">
          <i class="layui-icon" style="font-size: 15px;">&#xe638;</i> <span style="font-size:15px;">{$article['category_name']}</span> &nbsp; &nbsp;
          <i class="layui-icon" style="font-size: 15px;">&#xe612;</i>  <span style="font-size:15px;">{$article['username']}</span> &nbsp; &nbsp;
          <i class="layui-icon" style="font-size: 15px;">&#xe60e;</i>  <span style="font-size:15px;">{$article.create_time|date="Y年m月d日",###}</span>
        </p>
        <hr />
        <div class="article-content">{$article.content|htmlspecialchars_decode}</div>
      </div>  
    </div>
    {include file="common/footer" /}
    {include file="common/tool" /}
  </body>
</html>